package org.grill.fatwhacker.data;

import java.io.Serializable;

public class FoodEntry implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String name = "";
	private float value = 0;
	private boolean food = true;
	
	public String toString() {
		return name + " - " + value + " " + (food ? "Food" : "Exercise");
	}
	
	
	public boolean isFood() {
		return food;
	}
	public void setFood(boolean food) {
		this.food = food;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public float getValue() {
		return value;
	}
	public void setValue(float value) {
		this.value = value;
	}
}
